import { createApp } from 'vue'
import App from './App.vue'
// 清除样式插件
import 'reset-css'
// 自己的样式文件
import '@/assets/styles/common.less'
// 导入路由
import router from './router/index'
// 导入pinia
import { createPinia } from 'pinia'

const pinia = createPinia()
// Vue的插件机制
import Vueinstall from '@/components/index'
// 挂载路由.use(router)
createApp(App).use(router).use(pinia).use(Vueinstall).mount('#app')
